package com.dokimall.search;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

@EnableDiscoveryClient
@SpringBootApplication(exclude = DataSourceAutoConfiguration.class) // 引入的common包自动引入数据源，需要排除数据源
public class DokimallSearchApplication {

    public static void main(String[] args) {
        SpringApplication.run(DokimallSearchApplication.class, args);
    }

}
